package duaxe.home.entity.projectile;

import java.util.Random;

import duaxe.home.Graphics.Sprite;
import duaxe.home.entity.Entity;
import duaxe.home.level.tile.Tile;

public abstract class Projectile extends Entity {
	final protected int xOrigin, yOrigin;
	protected double angel;
	protected Sprite sprite;
	protected double x,y;
	protected double distance;
	
	protected double nx, ny;
	protected double speed, range, damage;
	
	protected final Random random = new Random();
	
	public Projectile(int x, int y, int dir){
		yOrigin =y;
		xOrigin =x;
		angel = dir;
		this.x =x;
		this.y =y;
	}
	public Sprite getSprite(){
		return sprite;
	}
	public int getSpriteSize(){
		return sprite.SIZE;
	}
	protected void move(){
		
	}

}
